package com.caojing.haolemai.ui.mine.gengduo;

import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import android.widget.TextView;
import android.widget.Toast;

import com.caojing.haolemai.R;
import com.caojing.haolemai.base.BaseActivity;

import butterknife.Bind;
import butterknife.ButterKnife;
import butterknife.OnClick;

/**
 * Created by My on 2016/10/21.
 */
public class GengDuoActivity extends BaseActivity {
    @Bind(R.id.iv_geng_duo_fanhui)
    ImageView ivGengDuoFanhui;
    @Bind(R.id.iv_gengduo_xiaoxi_tuisong)
    ImageView ivGengduoXiaoxiTuisong;
    @Bind(R.id.tv_geng_duo_huancun_daxiao)
    TextView tvGengDuoHuancunDaxiao;
    @Bind(R.id.rl_geng_duo_qing_chu_huan_cun)
    RelativeLayout rlGengDuoQingChuHuanCun;
    @Bind(R.id.rl_geng_duo_gengxin)
    RelativeLayout rlGengDuoGengxin;
    @Bind(R.id.rl_geng_duo_lianxi)
    RelativeLayout rlGengDuoLianxi;
    @Bind(R.id.rl_account)
    RelativeLayout rlAccount;
    @Bind(R.id.btn_tuichu_login)
    Button btnTuichuLogin;

    private boolean flag;

    @Override
    protected int getLayoutId() {
        return R.layout.geng_duo_activity;
    }

    @Override
    protected void initView() {

    }

    @Override
    protected void initData() {

    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        // TODO: add setContentView(...) invocation
        ButterKnife.bind(this);
    }

    @OnClick({R.id.iv_geng_duo_fanhui, R.id.iv_gengduo_xiaoxi_tuisong, R.id.rl_geng_duo_qing_chu_huan_cun, R.id.rl_geng_duo_gengxin, R.id.rl_geng_duo_lianxi, R.id.rl_account, R.id.btn_tuichu_login})
    public void onClick(View view) {

        switch (view.getId()) {
            case R.id.iv_geng_duo_fanhui:

                break;
            case R.id.iv_gengduo_xiaoxi_tuisong:
                ivGengduoXiaoxiTuisong.setPressed(false);
                break;
            case R.id.rl_geng_duo_qing_chu_huan_cun:

                break;
            case R.id.rl_geng_duo_gengxin:
                Toast.makeText(GengDuoActivity.this, "已是最新版本", Toast.LENGTH_SHORT).show();
                break;
            case R.id.rl_geng_duo_lianxi:
                break;
            case R.id.rl_account:
                break;
            case R.id.btn_tuichu_login:
                break;
        }
    }
}
